Installing CorVu dbCGI

Note: This documentation is somewhat brief. Somebody might like towrite some more detailed instructions and submit them topatches-dbcgi@corvu.com.au

Before compiling dbCGI, you will need to ensure that you havethe products required to access dynamic SQL from the C language.For Informix and Progress, this means the "ESQL/C" products.For Sybase, this means the Sybase dbLibraries.

1. Edit the Makefile and modify the variablesto reflect your installation. If you change "CC" to something other thanGNU C and you are not using a system where GNU C is the bundled compiler(notably DGUX/88Open, 386BSD, NetBSD, Linux), comment out the "GLIBS" line.

2. Type one of the following commands:

3. You should now have a file of the same name as theargument you used to make (unless "make" failed, in which case youhave some work to do to figure out why and fix the problem). Copythis file to your cgi-bin directory. You can now create dbCGI filesin your htdocs directory and access them as:

        http://hostname/cgi-bin/sybdbcgi/filename

where hostname is your host name, you replace sybdbcgi with the nameof the dbCGI program for your database, and filename is the name ofthe dbCGI file relative to the htdocs directory.